package com.family.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.family.bean.FamilyPersonInfo;
import com.family.mapper.inf.FamilyPersonInfoMapper;
import com.family.service.IDemoService;
@Service("demoService")
public class DemoServiceImpl implements IDemoService{
	private final Logger logger = LoggerFactory.getLogger(DemoServiceImpl.class);
	@Autowired
	private FamilyPersonInfoMapper familyPersonInfoMapper;
	@Override
	public void query(int id) {
		FamilyPersonInfo info = familyPersonInfoMapper.selectByPrimaryKey(id);
		logger.info("query result is {}",info);
	}

}
